﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013C1 RID: 5057
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TextJoinSaveCsReq : IMessage<TextJoinSaveCsReq>, IMessage, IEquatable<TextJoinSaveCsReq>, IDeepCloneable<TextJoinSaveCsReq>, IBufferMessage
	{
		// Token: 0x17003FC1 RID: 16321
		// (get) Token: 0x0600E27A RID: 57978 RVA: 0x0025D4A5 File Offset: 0x0025B6A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TextJoinSaveCsReq> Parser
		{
			get
			{
				return TextJoinSaveCsReq._parser;
			}
		}

		// Token: 0x17003FC2 RID: 16322
		// (get) Token: 0x0600E27B RID: 57979 RVA: 0x0025D4AC File Offset: 0x0025B6AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TextJoinSaveCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003FC3 RID: 16323
		// (get) Token: 0x0600E27C RID: 57980 RVA: 0x0025D4BE File Offset: 0x0025B6BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TextJoinSaveCsReq.Descriptor;
			}
		}

		// Token: 0x0600E27D RID: 57981 RVA: 0x0025D4C5 File Offset: 0x0025B6C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinSaveCsReq()
		{
		}

		// Token: 0x0600E27E RID: 57982 RVA: 0x0025D4D8 File Offset: 0x0025B6D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinSaveCsReq(TextJoinSaveCsReq other) : this()
		{
			this.textItemId_ = other.textItemId_;
			this.eANJBBEKKII_ = other.eANJBBEKKII_;
			this.textItemConfigId_ = other.textItemConfigId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E27F RID: 57983 RVA: 0x0025D515 File Offset: 0x0025B715
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinSaveCsReq Clone()
		{
			return new TextJoinSaveCsReq(this);
		}

		// Token: 0x17003FC4 RID: 16324
		// (get) Token: 0x0600E280 RID: 57984 RVA: 0x0025D51D File Offset: 0x0025B71D
		// (set) Token: 0x0600E281 RID: 57985 RVA: 0x0025D525 File Offset: 0x0025B725
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TextItemId
		{
			get
			{
				return this.textItemId_;
			}
			set
			{
				this.textItemId_ = value;
			}
		}

		// Token: 0x17003FC5 RID: 16325
		// (get) Token: 0x0600E282 RID: 57986 RVA: 0x0025D52E File Offset: 0x0025B72E
		// (set) Token: 0x0600E283 RID: 57987 RVA: 0x0025D536 File Offset: 0x0025B736
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string EANJBBEKKII
		{
			get
			{
				return this.eANJBBEKKII_;
			}
			set
			{
				this.eANJBBEKKII_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17003FC6 RID: 16326
		// (get) Token: 0x0600E284 RID: 57988 RVA: 0x0025D549 File Offset: 0x0025B749
		// (set) Token: 0x0600E285 RID: 57989 RVA: 0x0025D551 File Offset: 0x0025B751
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TextItemConfigId
		{
			get
			{
				return this.textItemConfigId_;
			}
			set
			{
				this.textItemConfigId_ = value;
			}
		}

		// Token: 0x0600E286 RID: 57990 RVA: 0x0025D55A File Offset: 0x0025B75A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TextJoinSaveCsReq);
		}

		// Token: 0x0600E287 RID: 57991 RVA: 0x0025D568 File Offset: 0x0025B768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TextJoinSaveCsReq other)
		{
			return other != null && (other == this || (this.TextItemId == other.TextItemId && !(this.EANJBBEKKII != other.EANJBBEKKII) && this.TextItemConfigId == other.TextItemConfigId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E288 RID: 57992 RVA: 0x0025D5C8 File Offset: 0x0025B7C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TextItemId != 0U)
			{
				num ^= this.TextItemId.GetHashCode();
			}
			if (this.EANJBBEKKII.Length != 0)
			{
				num ^= this.EANJBBEKKII.GetHashCode();
			}
			if (this.TextItemConfigId != 0U)
			{
				num ^= this.TextItemConfigId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E289 RID: 57993 RVA: 0x0025D63B File Offset: 0x0025B83B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E28A RID: 57994 RVA: 0x0025D643 File Offset: 0x0025B843
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E28B RID: 57995 RVA: 0x0025D64C File Offset: 0x0025B84C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EANJBBEKKII.Length != 0)
			{
				output.WriteRawTag(10);
				output.WriteString(this.EANJBBEKKII);
			}
			if (this.TextItemConfigId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.TextItemConfigId);
			}
			if (this.TextItemId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.TextItemId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E28C RID: 57996 RVA: 0x0025D6C8 File Offset: 0x0025B8C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TextItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TextItemId);
			}
			if (this.EANJBBEKKII.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.EANJBBEKKII);
			}
			if (this.TextItemConfigId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TextItemConfigId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E28D RID: 57997 RVA: 0x0025D73C File Offset: 0x0025B93C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TextJoinSaveCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TextItemId != 0U)
			{
				this.TextItemId = other.TextItemId;
			}
			if (other.EANJBBEKKII.Length != 0)
			{
				this.EANJBBEKKII = other.EANJBBEKKII;
			}
			if (other.TextItemConfigId != 0U)
			{
				this.TextItemConfigId = other.TextItemConfigId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E28E RID: 57998 RVA: 0x0025D7A5 File Offset: 0x0025B9A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E28F RID: 57999 RVA: 0x0025D7B0 File Offset: 0x0025B9B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 80U)
					{
						if (num != 88U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.TextItemId = input.ReadUInt32();
						}
					}
					else
					{
						this.TextItemConfigId = input.ReadUInt32();
					}
				}
				else
				{
					this.EANJBBEKKII = input.ReadString();
				}
			}
		}

		// Token: 0x04005998 RID: 22936
		private static readonly MessageParser<TextJoinSaveCsReq> _parser = new MessageParser<TextJoinSaveCsReq>(() => new TextJoinSaveCsReq());

		// Token: 0x04005999 RID: 22937
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400599A RID: 22938
		public const int TextItemIdFieldNumber = 11;

		// Token: 0x0400599B RID: 22939
		private uint textItemId_;

		// Token: 0x0400599C RID: 22940
		public const int EANJBBEKKIIFieldNumber = 1;

		// Token: 0x0400599D RID: 22941
		private string eANJBBEKKII_ = "";

		// Token: 0x0400599E RID: 22942
		public const int TextItemConfigIdFieldNumber = 10;

		// Token: 0x0400599F RID: 22943
		private uint textItemConfigId_;
	}
}
